const env = "dev";

const config = {
  // 正式
  prod: {
    host: "https://eatnival-api.weiput.com",
    webHost: "https://eatnival-single.weiput.com",

    // 注意，正式环境不显示传值，官方文档与实际参数不一致
    // release or formal
    // envVersion: "release",
  },

  // 测试/开发
  dev: {
    host: "https://eatnival-api-test.weiput.com",
    // webHost: "https://eatnival-single-test.weiput.com",
    webHost: "http://10.10.10.234:10086",

    // "develop" | "trial"
    envVersion: "develop",
  },
};

export default {
  env,
  path: "", // 中间路径

  ...config[env],
};
